<template>
  <div id="app">
    <!-- 路由占位符 -->
    <!-- 使用缓存组件，为当前router-view渲染的所有组件都生成缓存 -->
    <keep-alive include="layout">
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: 'App',
  data () {
    return {}
  },
  components: {},
  methods: {},
  created () {
    this.$axios({
      url: './v1_0/channels',
      method: 'get'
    }).then(function (res) {
      console.log(res)
    })
    console.log(this)
  }
}
</script>

<style scoped lang="less">
.box {
  width: 200px;
  height: 200px;
  font-size: 66px;
}
</style>
